package com.qf.hospital.system.mapper;

import com.qf.hospital.system.entity.Paiban;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PaibanMapper {
    int deleteByPrimaryKey(Integer paiid);

    int insert(Paiban record);

    int insertSelective(Paiban record);

    Paiban selectByPrimaryKey(Integer paiid);

    int updateByPrimaryKeySelective(Paiban record);

    int updateByPrimaryKey(Paiban record);

    // 查询周一~周日的排班信息
    List<Paiban> findPaibanByWeek(@Param("week")String week);

}